<?phpfunction parametriDatabase() {return array("indirizzo" => "localhost", "username" => "root", "password" => "9d87s6", "nome" => "files_catalog");}function elaboraData($valore) {	if(preg_match('/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/', $valore, $data)) {		return $data[3] . "/" . $data[2] . "/" . $data[1] . " " . $data[4] . "." . $data[5] . "." . $data[6];	} else {		return  $valore;	} }?>